﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Xml;

namespace HospitalSystem
{
    public class EducationService : IEducationService
    {
        public string getEducationProfile(string cid)
        {
            return CDAsender.getEducationProfileXML(cid).InnerXml;
        }

        public string getEducationEvaluation(string cid, string planNo)
        {
            return CDAsender.getEducationEvaluationXML(cid, planNo).InnerXml;
        }

        public string getEducationPlanning(string cid, string planNo)
        {
            return CDAsender.getEducationPlanningXML(cid, planNo).InnerXml;
        }

        public List<string> getProfileList()
        {
            return CDAsender.getProfileList();
        }
    }
}
